package com.ruoyi.activiti.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考勤规则对象 t_rules
 * 
 * @author lifan
 * @date 2021-04-13
 */
public class Rules extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 规则编号 */
    private Integer ruleId;

    /** 规则名称 */
    @Excel(name = "规则名称")
    private String ruleName;

    /** 上班时间 */
    @Excel(name = "上班时间")
    private String officeHours;

    /** 上班打卡有效开始时间 */
    @Excel(name = "上班打卡有效开始时间")
    private String workStartTime;

    /** 下班打卡有效结束时间 */
    @Excel(name = "下班打卡有效结束时间")
    private String afterWorkEndTime;

    /** 下班时间 */
    @Excel(name = "下班时间")
    private String closingTime;

    /** 下班打卡有效开始时间 */
    @Excel(name = "下班打卡有效开始时间")
    private String closingStratTime;

    /** 下班打卡有效结束时间 */
    @Excel(name = "下班打卡有效结束时间")
    private String closingEndTime;

    /** 预留字段一 */
    private String reservedColumnOne;

    /** 预留字段二 */
    private String reservedColumnTwo;

    /** 预留字段三 */
    private Long reservedColumnThree;

    /** 预留字段四 */
    private Long reservedColumnFour;

    public void setRuleId(Integer ruleId) 
    {
        this.ruleId = ruleId;
    }

    public Integer getRuleId() 
    {
        return ruleId;
    }
    public void setRuleName(String ruleName) 
    {
        this.ruleName = ruleName;
    }

    public String getRuleName() 
    {
        return ruleName;
    }
    public void setOfficeHours(String officeHours) 
    {
        this.officeHours = officeHours;
    }

    public String getOfficeHours() 
    {
        return officeHours;
    }
    public void setWorkStartTime(String workStartTime) 
    {
        this.workStartTime = workStartTime;
    }

    public String getWorkStartTime() 
    {
        return workStartTime;
    }
    public void setAfterWorkEndTime(String afterWorkEndTime) 
    {
        this.afterWorkEndTime = afterWorkEndTime;
    }

    public String getAfterWorkEndTime() 
    {
        return afterWorkEndTime;
    }
    public void setClosingTime(String closingTime) 
    {
        this.closingTime = closingTime;
    }

    public String getClosingTime() 
    {
        return closingTime;
    }
    public void setClosingStratTime(String closingStratTime) 
    {
        this.closingStratTime = closingStratTime;
    }

    public String getClosingStratTime() 
    {
        return closingStratTime;
    }
    public void setClosingEndTime(String closingEndTime) 
    {
        this.closingEndTime = closingEndTime;
    }

    public String getClosingEndTime() 
    {
        return closingEndTime;
    }
    public void setReservedColumnOne(String reservedColumnOne) 
    {
        this.reservedColumnOne = reservedColumnOne;
    }

    public String getReservedColumnOne() 
    {
        return reservedColumnOne;
    }
    public void setReservedColumnTwo(String reservedColumnTwo) 
    {
        this.reservedColumnTwo = reservedColumnTwo;
    }

    public String getReservedColumnTwo() 
    {
        return reservedColumnTwo;
    }
    public void setReservedColumnThree(Long reservedColumnThree) 
    {
        this.reservedColumnThree = reservedColumnThree;
    }

    public Long getReservedColumnThree() 
    {
        return reservedColumnThree;
    }
    public void setReservedColumnFour(Long reservedColumnFour) 
    {
        this.reservedColumnFour = reservedColumnFour;
    }

    public Long getReservedColumnFour() 
    {
        return reservedColumnFour;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ruleId", getRuleId())
            .append("ruleName", getRuleName())
            .append("officeHours", getOfficeHours())
            .append("workStartTime", getWorkStartTime())
            .append("afterWorkEndTime", getAfterWorkEndTime())
            .append("closingTime", getClosingTime())
            .append("closingStratTime", getClosingStratTime())
            .append("closingEndTime", getClosingEndTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("reservedColumnOne", getReservedColumnOne())
            .append("reservedColumnTwo", getReservedColumnTwo())
            .append("reservedColumnThree", getReservedColumnThree())
            .append("reservedColumnFour", getReservedColumnFour())
            .toString();
    }
}
